package com.fulong.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author fulong
 * @email ${email}
 * @date 2022-04-19 09:45:23
 */
@Data
@TableName("device_status_info")
public class DeviceStatusInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private String id;
	/**
	 * 
	 */
	private Integer statuscode;
	/**
	 * 
	 */
	private String name;
	/**
	 * 
	 */
	private String parent;
	/*
	*
	* */
	private Integer level;

	private  Integer devicestatuscode;

	private Integer role ;

	private String tag ;

	private String optionname;

	private Integer endcode;

	@TableField(exist = false)
	private List<DeviceStatusInfoEntity> children;

//
//	@TableField(exist = false)
//	private DeviceStatusInfoEntity left ;
//
//
//	@TableField(exist = false)
//	private DeviceStatusInfoEntity right ;
}
